package com.example.demo.service;

import com.example.demo.entity.Manager;
import java.util.Map;

public interface ManagerService {
    Manager createManager(Manager manager);
    Manager updateManager(Manager manager);
    boolean deleteManager(Integer id);
    Map<String, Object> getManagerList(Integer page, Integer limit, String keyword);
    
    boolean updateManagerStatus(Integer id, Integer status);
    
    Manager getManagerByUsername(String username);
    
    boolean changePassword(Integer userId, String oldPassword, String newPassword);

    // 获取管理员信息和权限菜单
    Map<String, Object> getManagerInfo(Integer userId);
}
